<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>编辑</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/resource/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/resource/css/mylay.css">
</head>
<style>
    .layui-form-pane .layui-form-label{
        width: 200px;
    }
    .layui-form-pane .layui-input-block{
        margin-left:200px;
    }
</style>
<body>
    <div style="padding: 20px; background-color: #F2F2F2;">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-body">
                        <!-- <p style="color:red;">请填写账号后再上传，否则将导致失败</p>
                        <p style="color:red;">请在二维码图片显示后再点击确定提交</p>
                        <br /> -->
                        <form class="layui-form layui-form-pane" action="">
                            <div class="layui-form-item">
                                <label class="layui-form-label">名称</label>
                                <div class="layui-input-inline">
                                    <input type="text" name="name" autocomplete="off" placeholder="请输入名称" class="layui-input" value="{$data['name']}">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">天数</label>
                                <div class="layui-input-inline">
                                    <input type="number" name="day" autocomplete="off" placeholder="请输入天数" class="layui-input" value="{$data['day']}">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">最小存入数量</label>
                                <div class="layui-input-inline">
                                    <input type="number" name="min" autocomplete="off" placeholder="请输入最小存入数量" class="layui-input" value="{$data['min']}">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">最多存入数量</label>
                                <div class="layui-input-inline">
                                    <input type="number" name="max" autocomplete="off" placeholder="请输入最多存入数量" class="layui-input" value="{$data['max']}">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">利息</label>
                                <div class="layui-input-inline">
                                    <input type="number" name="tax" autocomplete="off" placeholder="请输入利息" class="layui-input" value="{$data['tax']}">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">奖励</label>
                                <div class="layui-input-inline">
                                    <input type="number" name="money" autocomplete="off" placeholder="请输入奖励" class="layui-input" value="{$data['money']}">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">手续费</label>
                                <div class="layui-input-inline">
                                    <input type="number" name="fee" autocomplete="off" placeholder="请输入手续费" class="layui-input" value="{$data['fee']}">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">排序</label>
                                <div class="layui-input-inline">
                                    <input type="number" name="sort" autocomplete="off" placeholder="请输入排序" class="layui-input" value="{$data['sort']}">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">状态</label>
                                <div class="layui-input-block">
                                    {volist name="statusArr" id="vo" key="k" }
                                    <input type="radio" readonly name="status" value="{$k}" title="{$vo}"{if $data.status eq $k} checked{/if}>
                                    {/volist}
                                </div>

                            <div class="layui-form-item" style="margin-top: 40px;text-align: center;">
                                <input type="hidden" name="id" value="{$data.id}" autocomplete="off" class="layui-input">
                                <div class="layui-input-block">
                                    <button class="layui-btn" lay-submit lay-filter="pledge_set_edit">立即提交</button>
                                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

<script src="/resource/layuiadmin/layui/layui.js"></script>
<script src="/resource/js/manage/init_date.js"></script>
<script src="/resource/js/manage/pledge.js"></script>
</body>
</html>
